package com.lujieni.springbootcaffeine.dao;


import com.lujieni.springbootcaffeine.po.StudentPO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

@Repository
public interface StudentDao extends BaseMapper<StudentPO> {
        /**
         * mybatis可以将db中的int自动转为String,通过ResultMap
         *
         * @return
         */
        List<StudentPO> queryDataById(@Param("ids") List<String> ids);
}

